/* eslint-disable */
import Vue from 'vue';
import App from './App.vue';
import { i18n } from './locales'; // 引入 src/i18n/index，得到 i18n 实例
import videojs from 'video.js';
import 'video.js/dist/video-js.css';
import './registerServiceWorker';
import router from './router';
import store from './store';
import { currency } from './utils/index';
// import { Cascader, Button, Select } from "element-ui";
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
import './assets/style/rest.css';
import './assets/style/index.less';
// console.log(process.env.VUE_APP_TITLE);
Vue.prototype.$ELEMENT = { size: 'small', zIndex: 3000 };
// Vue.component(Cascader.name, Cascader);
// Vue.component(Button.name, Button);
// Vue.component(Select.name, Select);
Vue.use(ElementUI);
Vue.prototype.$video = videojs;
Vue.filter('currency', currency);
// microApp.start();

/* 或写为
 * Vue.use(Button)
 * Vue.use(Select)
 */
Vue.config.productionTip = false;
new Vue({
    i18n,
    router,
    store,
    render: (h) => h(App)
}).$mount('#app');
